@extends('admin.common.zhyframe')

@section('head')
@endsection

@section('content')
<div class="wrapper mt-25">
	<div class="row">
		<div class="col-sm-12">
			<form class="form-horizontal" role="form" id="fontInfoForm">
				<table class="table table-bordered table-hover">
					<thead>
						<tr>
							<th colspan="4">底部导航</th>
						</tr>
					</thead>
					<tr>
						<td class="text-right WW15">主导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n1}}@endif" name="n1" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n1_1}}@endif" name="n1_1" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n1_2}}@endif" name="n1_2" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">主导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n2}}@endif" name="n2" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n2_1}}@endif" name="n2_1" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">主导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n3}}@endif" name="n3" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n3_1}}@endif" name="n3_1" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">主导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n4}}@endif" name="n4" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n4_1}}@endif" name="n4_1" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n4_2}}@endif" name="n4_2" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n4_3}}@endif" name="n4_3" class="form-control WW100"></td>
					</tr>
					<tr>
						<td class="text-right WW15">二级导航：</td>
						<td><input type="text" value="@if($fontinfo){{$fontinfo->n4_4}}@endif" name="n4_4" class="form-control WW100"></td>
					</tr>
				</table>
				
				<div class="form-group mt-50">
					<div class="col-sm-4 col-sm-offset-5 ">
						<span class="btn btn-primary" onclick="layAjaxForm($('#fontInfoForm').serialize(), '/admin/systemset/fontset', 'post')">保&nbsp;&nbsp;存</span>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
@endsection

@section('footer')
<script src="{{asset('js/public.js')}}"></script>
<script src="{{asset('js/plugins/zhypic/uploadpic.js') }}"></script>
@endsection